import React from "react"
import { Link } from 'gatsby'
import {useDispatch, useSelector} from 'react-redux'

export default function Home() {
  const counterReducer = useSelector(state => state.counterReducer)
  const dispatch = useDispatch()
  console.log(counterReducer.count)
  return <div>
    <Link to="/list">去list组件</Link> |
    <Link to="/person/zhangsan">张三</Link> |
    <Link to="/person/lisi">李四</Link> |
    <Link to="/page-query">page-query</Link> |
    <Link to="/axiosQuery">axiosQuery</Link> |
    <Link to="/imageSeo">imageSeo</Link> |
    <Link to="/article">article</Link> |
    <Link to="/sagaPage">sagaPage</Link> |
    
  </div>
}
